#include <iostream>

int j = 0;
constexpr int i = 42;

void pointer_constexpr()
{
    const int *p = nullptr;
    constexpr int *q = nullptr;
    constexpr int *np = nullptr;
    constexpr const int *p2 = &i;
    constexpr int *p1 = &j;
    std::cout << *p2 << " " << p2 << std::endl;
    std::cout << *p1 << " " << p1 << std::endl;
}

int main()
{
    pointer_constexpr();
    return 0;
}